export const baseUsage = `
import { PhDatetimeBtn } from 'ph-datetimepicker'
interface PhDatetimeBtn{
    format:{type:String}, //日期展示格式 yyyy-MM-dd hh:mm:ss   <yyyy|MM|dd|hh|mm|ss 的随意组合>
    type:{type:String,default:"datetime"/*date*/}, 选择模式<datetime,date,year,month,time>
    value:{type:Date}
}
`;
export const dep = `
//全局配置，该步骤可选
import {
    PhDatetimePicker,
    } from 'phoeon'
createApp(App)
.use(PhDatetimePicker,{
    theme:{
        type:String,
        default:"dark"
    },
    weekText:{
        type:Array as PropType<Array<string>>
    },
    importants:{
        type:Array as PropType<Array<{title:string|number,md:string}>>
    },
    lang:{
        type:String,
        default:"cn"
    },
    clear:{
        type:Boolean,
        default:true
    },
    now:{
        type:Boolean,
        default:true
    }
})
`;
export const demo1 = `<ph-datetime-button :value="value" @pick="onPick"/>`;
export const demo2 = `<ph-datetime-button :value="value" type="date" @pick="onPick"/>`;
export const demo3 = `<ph-datetime-button :value="value" type="month" @pick="onPick"/>`;
export const demo4 = `<ph-datetime-button :value="value" type="year" @pick="onPick"/>`;
export const demo5 = `<ph-datetime-button :value="value" type="time" @pick="onPick"/>`;
